Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Workspace Owner when launching non-ephemeral Sessions #328

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

jfaltermeier
Copy link
Contributor

@jfaltermeier jfaltermeier commented Jul 19, 2024

The Service does filter out workspaces if the user does not match via https://github.com/eclipsesource/theia-cloud/blob/37785cfeb9a8b4cebd79e404750b74c2d8ec30a1/java/service/org.eclipse.theia.cloud.service/src/main/java/org/eclipse/theia/cloud/service/K8sUtil.java#L127

This change just makes sure that if there was a bug in the service, the operator does not just expose the workspace belonging to a different user.

@jfaltermeier jfaltermeier marked this pull request as ready for review July 23, 2024 14:10
Copy link
Contributor

@sgraband sgraband left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks LGTM 👍

@jfaltermeier jfaltermeier merged commit c1c71da into main Aug 6, 2024
5 checks passed
@jfaltermeier jfaltermeier deleted the jf/workspaces branch August 6, 2024 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants